export const config = {
  appId: "monitor2-sdk-demo",
  userId: "lby",
  reportUrl: "http://localhost:300/report/actions", // 上报地址
  trackerAll: false, // 是否全埋点
  vue: {
    Vue: null,
    router: null,
  },
  ua: navigator.userAgent,
};

export function setConfig(options) {
  for (const key in config) {
    if (options[key]) {
      config[key] = options[key];
    }
  }
}
